@charset "UTF-8";
.imgShowBackdrop, .imgZoomShow {
    position: fixed;
    z-index: 1050;
    display: none
}

.imgShowBackdrop {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5)
}

.imgZoomShow {
    top: 80px;
    width: 100%;
    text-align: center
}

.imgZoomShow img {
    min-width: 50px;
    min-height: 50px;
    /*max-width: 100%;*/
    max-height: 280px;
    border: 10px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .5)
}

.imageModal {
    float: left;
    width: 205px;
    height: 150px;
    position: relative;
    border: 1px solid #ccc;
    background: #fafafa;
    text-align: center;
    margin-right: 10px;
    border-radius: 4px;
}

.imageModal .imageBox {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    position: relative;
    display: none
}

.imageModal .imageBox img {
    cursor: pointer;
    max-width: 100%;
    max-height: 100%
}

.imageModal .imageBox .imgDemoTip {
    border-left: 40px solid #00abe4;
    border-bottom: 40px solid rgba(255, 255, 255, 0);
    position: absolute;
    width: 100%;
    top: 0;
    display: none
}

.imageModal .imageBox .imgDemoTip::after {
    content: "例";
    position: absolute;
    top: 2px;
    left: -34px;
    color: #fff
}

.imageModal .imageBox .editIcon {
    display: none;
    position: absolute;
    right: 0;
    top: inherit;
    bottom: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    background: rgba(42, 42, 42, .6)
}

.imageModal .imageBox .editIcon:hover {
    background: rgba(42, 42, 42, .8)
}

.imageModal .imageBox .editIcon.left {
    right: 70px
}

.imageModal .imageBox .editIcon.middle {
    right: 35px
}

.imageModal .uploadIcon {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 30px;
    color: #ACACAC;
    cursor: pointer
}

.imageModal .uploadIcon:focus, .imageModal .uploadIcon:hover {
    text-decoration: none
}

.imageModal .uploadIcon .uploadSign {
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 60px
}

.imageModal .uploadIcon .img-upload-logo {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    background: url() no-repeat
}

.imageModal .uploadIcon .img-upload-tips {
    display: block;
    height: 26px;
    margin-top: 20px;
    line-height: 26px;
    font-size: 18px;
    color: #6a6a6a
}

.imageModal .uploadIcon .img-upload-tips::before {
    content: '点击上传图片';
    display: block
}

.imageModal .uploadIcon input[type=file] {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    opacity: 0
}

.imageModal .uploadIcon .uploadTip {
    display: none;
    position: absolute;
    bottom: 0;
    height: 30px;
    line-height: 30px;
    width: 100%;
    margin: 0;
    font-size: 14px;
    color: #fff;
    z-index: 1
}

.imageModal.uploading .uploadIcon .img-upload-logo {
    background: url() no-repeat;
    -webkit-animation: spin .8s infinite steps(8);
    -o-animation: spin .8s infinite steps(8);
    animation: spin .8s infinite steps(8)
}

.imageModal.uploading .img-upload-tips::before {
    content: '正在上传...'
}

.imageModal.uploaded .imageBox {
    display: block;
    z-index: 1
}

.imageModal.uploaded .uploadIcon .uploadSign {
    display: none
}

.imageModal.uploaded .uploadIcon input[type=file] {
    width: 30px;
    height: 30px;
    top: initial;
    bottom: 0;
    right: 0;
    z-index: -1
}

.imageModal.uploaded .uploadIcon .uploadTip {
    display: block
}

.imageModal.uploaded.success.optHover .uploadIcon .uploadTip, .imageModal.uploaded.success.optShow .uploadIcon .uploadTip {
    display: none
}

.imageModal.demo .imgDemoTip, .imageModal.uploaded.success.optHover:hover .imageBox .editIcon, .imageModal.uploaded.success.optShow .imageBox .editIcon {
    display: block
}

.imageModal.demo img {
    cursor: initial
}

.imageModal.disabled, .imageModal.disabled .imageBox .editIcon, .imageModal.disabled .uploadIcon, .imageModal.disabled .uploadIcon input[type=file] {
    cursor: not-allowed
}

.imageModal.demo .editIcon, .imageModal.demo .uploadIcon {
    display: none
}

.imageModal.disabled .imageBox .editIcon:hover {
    background: rgba(42, 42, 42, .6)
}

.imageModal.success .uploadIcon .uploadTip::before {
    content: "上传成功";
    display: block;
    background: rgba(42, 42, 42, .6)
}

.imageModal.fail .uploadIcon .uploadTip {
    display: block
}

.imageModal.fail .uploadIcon .uploadTip::before {
    display: block;
    content: "上传失败，请重新上传";
    background: #ff8b8b
}